package com.lancoo.znbkxx.net;

import io.reactivex.Observable;
import io.reactivex.observers.DisposableObserver;
import okhttp3.ResponseBody;

/**
 * Create by TangJun on 2019/2/20
 */
public class MyCollectApi {
    public static void getMyCollectInfo(DisposableObserver<ResponseBody> subscriber) {
        //Bean bean = new Bean();
        //bean.getData().setMemberId(memberId);
        Observable observable = HttpMethods.getInstance().getHttpApi().getCollectInfo(); //在HttpServer中
        HttpMethods.getInstance().toSubscribe(observable, subscriber);
    }
}
